home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zoom 1
/
Zoom (1995)(Active Software, Ground Zero).iso
/
mainlibrary
/
d216a.dms
/
d216a.adf
/
InstallScript
< prev
Wrap
Text File
|
1992-09-02
|
3KB
|
112 lines
echo "*Ec*NACTIVE SOFTWARE"
echo "Man on the Moon"
FailAt 21
assign FSc: "moon 1:c"
echo "*NBecause of the size of this demo, it has been split into numerous"
echo "parts. We are now going to copy all the files to your hard-disk"
echo "where they will then be extracted."
echo "You will need at least 6.5 megs of disk space free on your hard drive,"
ask "*N*NIs this what you want to do? (Type 'Y' for yes)"
If NOT WARN
echo "*N Exiting..."
Skip Exit
EndIf
echo "*N First we need to know where to install the program. Be sure there is"
echo "6.5 megs free on the drive you choose. Please type the name of the disk"
echo "you wish to install to: " NOLINE
assign > NIL: FStmp: ?
assign > NIL: FStmp: exists
If WARN
Skip usage
EndIf
cd FStmp:
echo "*NYou selected the device: " NOLINE
cd
echo "*NWe can create a drawer for the demo files, or place them"
echo "directly in the above directory. Would you like to place all"
ask "the files directly in the selected directory? (y/N) "
If NOT WARN
echo "*NCreating a new directory named MOON"
Makedir MOON >NIL:
If WARN
echo "*N*"MOON*" already exists there. Do you want to overwrite "
ask "any files and continue with this installation? (Type 'Y' for YES)"
If NOT WARN
ask " (return to exit)"
Skip exit
EndIf
EndIf
echo "*NDo you want the nice Magic-Workbench style icons"
ask "for the drawers? (Type 'Y' for yes)"
if NOT WARN
if NOT exists FStmp:MOON.info
copy FSc:MOON.info ""
endif
copy FSc:Man_on_Moon.faculty.info fstmp:MOON/
else
copy FSc:MWB.info ACTIVE.INFO
copy FSc:Man_on_Moon.faculty.MWB.info fstmp:Man_on_Moon.Faculty.info
Endif
cd FStmp:MOON
endIf
echo "Please DO NOT interrupt this procedure"
echo "Copying files from disk 1"
copy "MOON 1:demo.1" "" >NIL:
echo "Copying files from disk 2"
join demo.1 "MOON 2:demo.2" to demo2a >NIL:
if WARN
SKIP failed
endif
delete >NIL: demo.1
echo "Copying files from disk 3"
join demo2a "MOON 3:demo.3" to demo3a >NIL:
if WARN
SKIP failed
endif
delete >NIL: demo2a
echo "Copying files from disk 4"
join demo3a "MOON 4:demo.4" to unpack.me.mom >NIL:
if WARN
SKIP failed
endif
delete >NIL: demo3a
unpack.me.mom
delete >NIL: unpack.me.mom
ask "*NInstallation complete. (return to exit)"
SKIP exit
LAB usage
echo "*NSorry that drive is not a valid drive, please check the name"
FSc:ask " and run the install again... (return to exit)"
Skip exit
LAB failed
echo "*NInstallation FAILED!!! "
echo "*NThis COULD be because you don't have enough space on the"
echo "hard disk, or you may have cancelled halfway through. Check "
echo "the available space and try again."
ask "*N (Press return to exit)"
LAB exit
assign FSc:
assign FStmp:
EndCLI > NIL: